<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link href="{ADMIN_THEME}images/reset.css" rel="stylesheet" type="text/css" />
    <link href="{ADMIN_THEME}images/system.css" rel="stylesheet" type="text/css" />
    <link href="{ADMIN_THEME}images/table_form.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="{ADMIN_THEME}js/jquery.min.js"></script>
    <title>admin</title>
</head>
<body style="font-weight: normal;">
<script type="text/javascript">
function _mms(id) {
    var o = $('#ms'+id);
    var u = o.attr('url');
    $('.content-menu > a').removeClass('on');
    o.attr('class', 'on');
    $('#mresult').attr('src', u);
}
$(function(){
    wSize();
});
if(!Array.prototype.map)
    Array.prototype.map = function(fn,scope) {
        var result = [],ri = 0;
        for (var i = 0,n = this.length; i < n; i++){
            if(i in this){
                result[ri++]  = fn.call(scope ,this[i],i,this);
            }
        }
        return result;
    };

var getWindowSize = function(){
    return ["Height","Width"].map(function(name){
        return window["inner"+name] ||
                document.compatMode === "CSS1Compat" && document.documentElement[ "client" + name ] || document.body[ "client" + name ]
    });
}
window.onload = function (){
    if(!+"\v1" && !document.querySelector) { // for IE6 IE7
        document.body.onresize = resize;
    } else {
        window.onresize = resize;
    }
    function resize() {
        wSize();
        return false;
    }
}
function wSize(){
    var str=getWindowSize();
    var strs= new Array(); //定义一数组
    strs=str.toString().split(","); //字符分割
    var heights = strs[0]-80,Body = $('body');
    $('#mresult').height(heights);
}
</script>
<div class="subnav">
    <div class="content-menu ib-a blue line-x">
        <a id="ms1" href="javascript:_mms(1);" class="on" url="{$murl}SetDb.php"><em>参数设置</em></a><span>|</span>
        <a id="ms2" href="javascript:_mms(2);" url="{$murl}ChangeDb.php"><em>备份数据</em></a><span>|</span>
        <a id="ms3" href="javascript:_mms(3);" url="{$murl}ListSetbak.php"><em>管理备份设置</em></a><span>|</span>
        <a id="ms4" href="javascript:_mms(4);" url="{$murl}ReData.php"><em>恢复数据</em></a><span>|</span>
        <a id="ms5" href="javascript:_mms(5);" url="{$murl}ChangePath.php"><em>管理备份目录</em></a><span>|</span>
        <a id="ms6" href="javascript:_mms(6);" url="{$murl}RepFiletext.php"><em>替换目录文件</em></a><span>|</span>
        <a id="ms7" href="javascript:_mms(7);" url="{$murl}DoSql.php"><em>执行SQL语句</em></a><span>|</span>
        <a href="{url('mbak/admin/config')}"><em>安全设置</em></a><span>|</span>
    </div>
	<div class="bk10"></div>
	<div class="table-list col-tab">
        <iframe frameborder="0" src="{$murl}SetDb.php" name="mresult" id="mresult" width="100%" height="100%"></iframe>
	</div>
</div></body>
</html>